1 #Flashing Pendant. Mysterious cyberpunk electronic jewelry for boys and girls of all ages.
3 
4 
6 The device based on Attiny10 and implements a simple algorithm of 1-dimensional cellular automaton. It has two modes of operation:
8 1. Rule 22: When a threshold sequence is found, the device signals by light. When the value is exceeded -- by light and beeping.
9 2. Rule 30. Gives shorter sequences and signals after passing the entire length of the array. This mode gives the opportunity to "play" with the image on long shutter speed. For example, if you synchronize the rotation of the device (on a string) with beeping and move in space, you can get interesting images of in time evolution.
11 
13 Modes are selecting by pressing the Reset button (selection is random, entropy is "caught" from electromagnetic interference :)
21 (PCINT0/TPIDATA/OC0A/ADC0/AIN0) PB0 1 6 PB3 (RESET/PCINT3/ADC3)
23 (PCINT1/TPICLK/CLKI/ICP0/OC0B/ADC1/AIN1) PB1 3 4 PB2 (T0/CLKO/PCINT2/INT0/ADC2)
26 FTDI bitbang (ASP num _ ASP name (t10 name __ t10 num __ FTDI name))
28 1 miso (TPIDATA 1 CTS) 2 vcc (Vcc 5 Vcc)
29 3 sck (TPICLK 3 DTR) 4 mosi
30 5 reset (reset 6 RTS) 6 gnd (gnd 2 gnd)
32 on IC (how to connet FTDI)
43 
47 LIR1620 lithium rechargeable battery is used for power supply.
48 A battery charger is included.
50 
51 
55 Copyright © 2022 Dmitry Shalnov [interplaymedium.org]
57 Licensed under the Apache License, Version 2.0 (the "License");
58 you may not use this files except in compliance with the License.
59 You may obtain a copy of the License at
61 http://www.apache.org/licenses/LICENSE-2.0
63 Unless required by applicable law or agreed to in writing, software
64 distributed under the License is distributed on an "AS IS" BASIS,
65 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
66 See the License for the specific language governing permissions and
67 limitations under the License.